{admin title="Edit User `$user.username`"}
		
				<form method="post" action="/useradmin/edit/username/{$user.username}" enctype="multipart/form-data">
					<p>					
					
						<label for="full_name">Full Name</label>
						<input maxlength="{$full_name_length}" type="text" value="{$user.full_name}" name="full_name" id="full_name" class="text{if count($errors.full_name) gt 0} LV_invalid_field{/if}" />
						
						<label for="email">Email</label>
						<input type="text" value="{$user.email}" name="email" id="email" class="text" />
						
						<label for="gender">Gender</label>
						{html_options name=gender options=$genders selected=$user.gender}					
							
						<label>Birthday</label>
						{html_select_date time=$user.birthday end_year=$end_year start_year=-100 month_value_format='%B' prefix='Birthday_' class="datepicker"}	
												
						<label for="country">Country</label>							
						{html_options name=country_code options=$countries selected=$user.country_code}					
																
						<label for="aboutme">About Me</label>
						<textarea name="aboutme" id="aboutme">{$user.aboutme}</textarea>
							
						<label for="role_id">Role</label>
						{html_options name=role_id options=$roles selected=$user.role_id}					
							
						<label for="newpassword">New Password</label>							
						<input type="password" value="" name="newpassword" id="newpassword" class="text" />
							
						<label for="confirm">New Password (again)</label>
						<input type="password" value="" name="confirm" id="confirm" class="text" />
							
					</p>							
						
					<p class="clearfix"><input type="submit" class="button save" value="Save"/></p>					
					
				</form>
		
{/admin}